home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.08 Aug 91 / ListHandler Code / IconicLDEF.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-22  |  482 b   |  21 lines  |  [TEXT/KAHL]

  1. /*                                        iconicLDEF.h                                            */
  2. /*
  3.  * Header file for the LDEF demo: the IconInfo structure
  4.  * defines the contents of a list cell.  Also, define
  5.  * the application global values.
  6.  *
  7.  * Copyright 1990 Martin Minow and MacTutor.
  8.  */
  9. #define     NIL                ((void *) 0)
  10.  
  11. typedef struct {
  12.         Handle                    handle;
  13.         unsigned short    number;
  14. } IconInfo;
  15.  
  16. /*
  17.  * This is just to demonstrate that we can access an
  18.  * application global value from the LDEF handler.
  19.  */
  20. extern Boolean    drawAsText;
  21.